public class ClassTestDemo12 {
    public static void main(String[] args) {
//        byte b1 = 800;// 错
        byte b2 = 20;
        short s = 1000;
        int c = 1000;
        long d = c;
//        int e = d;// 错
        int f = 10 / 3;
        long g = 10;
//        int h = g / 3;//错
        long m = g / 3;
//        byte x = (byte) g / 3;// 错
        short y = (short) (g / 3);
        short i = 10;
        byte j = 5;
//        short k = i + j;//错
        int n = i + j;
        char cc = 'a';
        System.out.println("cc = " + cc);
        System.out.println((byte) cc);// 97
        int o = cc + 100;
        System.out.println(o);//197
        System.out.println(1/0);//0是被除数



    }
}
